/**
 * 
 */
package info.niwota.web.apache;

import x.org.apache.http.HttpRequest;
import x.org.apache.http.HttpResponse;
import x.org.apache.http.protocol.HttpContext;
import android.content.Context;

/**
 * 
 * @author qiangli
 * 
 */
public class CometHandler extends BaseHandler {

	/**
	 * @param ctx
	 */
	public CometHandler(Context ctx) {
		super(ctx);
	}

	@Override
	public boolean handle(String path, HttpRequest request,
			HttpResponse response, HttpContext context) throws Exception {

		if (path.startsWith("/comet/")) {
			return true;
		}

		return false;
	}
}
